import os

from dotenv import load_dotenv

load_dotenv()


class ApplicationConfig:
    DEBUG = os.getenv('DEBUG').lower() == "true" if os.getenv('DEBUG') is not None else True
    TITLE = os.getenv('TITLE') or 'FastAPI ABC'
    DESCRIPTION = os.getenv('DESCRIPTION') or 'Python FastAPI Framework'
    VERSION = os.getenv('VERSION') or '0.1.0'

applicationConfig = ApplicationConfig()
